#ifndef RRVERTEXARRAY_H
#define RRVERTEXARRAY_H

#include "rrprim.h"

#define VERTS_MAX 3000
#define ELEM_MAX 9000

class RRVertexArray
{
private:
    RRPrimType t;
    RRVertex verts[VERTS_MAX];
    int elements[ELEM_MAX][3];
    int v_num;
    int e_num;

public:
    RRVertexArray();
    void rrAddVertex(RRVertex *arg);
    void rrAddFace(int f1, int f2, int f3);
    int rrGetVertsNum();
    int rrGetElemNum();
    void rrGetPrim(int index, RRPrim *prim);
};

#endif // RRVERTEXARRAY_H
